.coupons-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
    text-align: center;
}

.coupons-container h2 {
    margin-bottom: 2rem;
    color: #333;
}

.coupon-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.coupon-item {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    transition: transform 0.2s ease-in-out;
    border: 1px solid #eee;
}

.coupon-item:hover {
    transform: translateY(-5px);
}

.coupon-value {
    background-color: #ff5722;
    color: white;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    min-width: 90px;
    text-align: center;
}

.coupon-value span {
    font-size: 2.5rem;
    line-height: 1;
    margin-top: 0.5rem;
}

.coupon-details {
    flex-grow: 1;
    padding: 1rem 1.5rem;
    text-align: left;
}

.coupon-details h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 1.2rem;
}

.coupon-condition,
.coupon-expiry {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.coupon-status {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}

.status-tag {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
}

.status-available {
    background-color: #28a745; /* Green */
}

.status-used {
    background-color: #6c757d; /* Grey */
}

.status-expired {
    background-color: #dc3545; /* Red */
}

.no-coupons-message {
    margin-top: 3rem;
    font-size: 1.1rem;
    color: #555;
}

.no-coupons-message a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.no-coupons-message a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .coupon-item {
        flex-direction: column;
        text-align: center;
    }

    .coupon-value {
        width: 100%;
        padding: 1rem 0.5rem;
        min-width: unset;
    }

    .coupon-details {
        padding: 1rem;
        text-align: center;
    }

    .coupon-status {
        width: 100%;
        padding: 0.5rem 1rem;
    }
} 